package com.example.pharmacy.model;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;
import org.apache.ibatis.annotations.Param;

import java.math.BigDecimal;
import java.util.Date;

/**
 * Created with IntelliJ IDEA.
 * Description:
 * User: asus
 * Date: 2024-12-21
 * Time: 15:15
 */
@Data
public class DrugInfo {
    private Integer drugId;
    private Integer classId;
    private String drugName;
    private String efficacy;
    @JsonFormat(shape = JsonFormat.Shape.STRING)
    private BigDecimal price;
    private Integer validity;//有效期
    private Integer inventory;//库存
    private Integer isDeleted;
    private Date createTime;
    private Date updateTime;
    private String picture;
    private String className;
}
